package com.nc.cloud.admin.mapper;

import com.nc.cloud.admin.entity.RoleMenu;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.HashMap;
import java.util.List;

/**
 * 
 * 
 * @author XYP
 * @email 23484376@qq.com
 * @date 2020-04-07 14:26:01
 */

public interface RoleMenuMapper extends Mapper<RoleMenu> {

     List<RoleMenu> findRoleMenuByUserMenu(HashMap userInfo);

     void deleteAllByMenuCode(HashMap params);

     void insertList(@Param("list") List<HashMap<String,Object>> list);
}
